package com.ruoyi.crm.sale.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 联系人管理对象 crm_customer_contacts
 * 
 * @author ruoyi
 * @date 2021-09-14
 */
public class CrmCustomerContacts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 类型 2：客户 3：商机 */
    @Excel(name = "类型 2：客户 3：商机")
    private String type;

    /** 业务id */
    @Excel(name = "业务id")
    private Long busId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 电话 */
    @Excel(name = "电话")
    private String tel;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 职务 */
    @Excel(name = "职务")
    private String job;

    /** 描述 */
    @Excel(name = "描述")
    private String msg;

    /** 预留字段 */
    private String yl1;

    /** 预留字段 */
    private String yl2;

    /** 预留字段 */
    private String yl3;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setBusId(Long busId) 
    {
        this.busId = busId;
    }

    public Long getBusId() 
    {
        return busId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setTel(String tel) 
    {
        this.tel = tel;
    }

    public String getTel() 
    {
        return tel;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setJob(String job) 
    {
        this.job = job;
    }

    public String getJob() 
    {
        return job;
    }
    public void setMsg(String msg) 
    {
        this.msg = msg;
    }

    public String getMsg() 
    {
        return msg;
    }
    public void setYl1(String yl1) 
    {
        this.yl1 = yl1;
    }

    public String getYl1() 
    {
        return yl1;
    }
    public void setYl2(String yl2) 
    {
        this.yl2 = yl2;
    }

    public String getYl2() 
    {
        return yl2;
    }
    public void setYl3(String yl3) 
    {
        this.yl3 = yl3;
    }

    public String getYl3() 
    {
        return yl3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("busId", getBusId())
            .append("name", getName())
            .append("tel", getTel())
            .append("email", getEmail())
            .append("job", getJob())
            .append("msg", getMsg())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("yl1", getYl1())
            .append("yl2", getYl2())
            .append("yl3", getYl3())
            .toString();
    }
}
